<style>
    #sidebar-nav .iconfont{
        color: #fff;
        font-size: 18px;
    }
    .lay-mini .sidebar-nav .list-group h1{
        padding-top: 0;
    }
</style>
<div class="main-left">
    <h1 class="logo"></h1>
    <div id="sidebar-nav" class="sidebar-nav">

        {volist name="topNav" id="vo" key="k"}
        <div class="list-group {if condition="$k eq 1"} selected{/if}" {if condition="$k eq 1"} style="display: block;" {/if}  data-menu="{$vo.id}">
        <h1 title="{$vo.title}"><span class="iconfont icon-kongzhimianban"></span></h1>
        <div class="list-wrap">
            <h2>{$vo.title}管理<i></i></h2>

            {volist name="leftNav" id="voo"}
            {if condition="$voo['pid'] eq $vo['id']"}
            <ul style="display: block;">
                <li>
                    <a navid="sys_settings">
                        <i class="icon folder"></i><span>{$voo.title}</span>
                        <b class="expandable open"></b>
                    </a>
                    <ul class="level-2" style="display: block;">
                        {volist name="leftNav" id="vooo"}
                        {if condition="$vooo['pid'] eq $voo['id']"}
                        <li class="selected">
                            <a class="sub_menu {$i}" href="javascript:;" data-url="{:url($vooo.name)}" target="mainframe"><i class="icon"></i><i class="icon file"></i><span class="sub-title">{$vooo.title}</span></a>
                        </li>
                        {/if}
                        {/volist}
                    </ul>
                </li>
            </ul>
            {/if}
            {/volist}
        </div>
    </div>
    {/volist}

</div>
</div>
